package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * BOM对象 mes_bom
 * 
 * @author ruoyi
 * @date 2024-06-01
 */
public class MesBom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** BOMid */
    private Integer id;

    /** BOM编码 */
    @Excel(name = "BOM编码")
    private String bomId;

    public String getOldBomId() {
        return oldBomId;
    }

    public void setOldBomId(String oldBomId) {
        this.oldBomId = oldBomId;
    }

    private String oldBomId;

    /** BOM名称 */
    @Excel(name = "BOM名称")
    private String bomName;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setBomId(String bomId) 
    {
        this.bomId = bomId;
    }

    public String getBomId() 
    {
        return bomId;
    }
    public void setBomName(String bomName) 
    {
        this.bomName = bomName;
    }

    public String getBomName() 
    {
        return bomName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bomId", getBomId())
            .append("bomName", getBomName())
            .toString();
    }
}
